package com.chen.service.impl;

import com.chen.entity.Contents;
import com.chen.mapper.ContentsMapper;
import com.chen.service.IContentsService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author Y·C
 * @since 2023-04-23
 */
@Service
public class ContentsServiceImpl extends ServiceImpl<ContentsMapper, Contents> implements IContentsService {


    @Resource
    private ContentsMapper contentsMapper;

    @Override
    public List<Contents> getList() {

        return contentsMapper.selectAllList();
    }
}

